﻿<Window x:Class="SetOperations.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="MainWindow" Height="316" Width="619">
    <UniformGrid Rows="1" Columns="4">
        <DockPanel Margin="3">
            <Label DockPanel.Dock="Top" HorizontalAlignment="Center">Set-X</Label>
            <ListBox ItemsSource="{Binding Path=Mul2,Mode=OneWay}"/>
        </DockPanel>
        <DockPanel Margin="3">
            <Label DockPanel.Dock="Top" HorizontalAlignment="Center">Set-Y</Label>
            <ListBox ItemsSource="{Binding Path=Mul3,Mode=OneWay}"/>
        </DockPanel>
        <DockPanel Margin="3">
            <Label DockPanel.Dock="Top" HorizontalAlignment="Center">Operation</Label>
            <StackPanel>
                <Button Click="u_click">union</Button>
                <Button Click="i_click">intersection</Button>
                <Button Click="d_click">difference</Button>
                <Button Click="s_click">symmetric__difference</Button>
            </StackPanel>
        </DockPanel>
        <DockPanel Margin="3">
            <Label DockPanel.Dock="Top" HorizontalAlignment="Center">Result</Label>
            <ListBox ItemsSource="{Binding Path=Result,Mode=OneWay}"/>
        </DockPanel>
    </UniformGrid>
</Window>
